package com.sensors.estudio.c5;

import org.apache.hadoop.fs.Path;
import org.apache.hadoop.mapred.FileInputFormat;
import org.apache.hadoop.mapred.FileOutputFormat;
import org.apache.hadoop.mapreduce.Job;

public class MaxTemperatureCompression {
    public static void main(String[] args) {
        if (args.length != 2) {
            System.err.println("Usage: MaxTemperatureWithCompression input path and output path");
            System.exit(-1);
        }

        Job job = new Job();
        job.setJarByClass(MaxTemperature.class);
        FileInputFormat.addInputPath(job, new Path(args[0]));
        FileOutputFormat.setOutputPath(job, new Path(args[1]));
        
        job.setOutputFormatClass(cls);
        
    }
}